define([
	"jquery",
	"bbcare",
	"as/app/mabc/mabcDetail.servers",
	"as/app/mabc/mabcDetail.ui",
	"as/app/mabc/mabcDetail.event",
],
	function($,$bb,$servers,$ui,$event){
	var mabcDetail = {};
	mabcDetail.init = function(){
		var info = $servers.getPageParams().params;
		//初始化列表参数：
		//busiId==4岁:mabc00001   5岁:mabc500001
		var ageState=info.ageState;
		var busiId="";
		if(ageState=="0"){
			busiId="mabc00001";
		} else if(ageState=="1"){
			busiId="mabc500001";
		} else if(ageState=="2"){
			busiId="mabc600001";
		} else if (ageState == "3") {
			busiId="mabc700001";
		}
		var inParams = {
			userId:info.userId,
			busiId:busiId,
			ageState:info.ageState
		};
		$servers.mabcQuestionList(inParams,$event.mabcQuestionList,info);
		$servers.getBaseInfo(inParams,$event.mabcBaseInfo,info);
		$event.init(info);
	};
	return mabcDetail;
});